package com.xishu.entity.shop;

import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Table(name = "prise")
@Entity
public class Praise extends AbstractEntity implements Serializable {

    private static final long serialVersionUID = -4975098992562469372L;

    @ApiModelProperty(value = "商店id")
    private Long shopId;

    @ApiModelProperty(value = "会员")
    private Long customerId;

    @ApiModelProperty(value = "点赞状态")
    private Boolean isLike;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "会员姓名")
    private String customName;

    @ApiModelProperty(value = "点赞类型 0-活动点赞 1-评论点赞")
    private Integer type;

    @ApiModelProperty(value = "不同type的id")
    private Long typeId;
}
